package com.sh.data.engine.application.model.request.datadev;

import com.sh.data.engine.domain.datadev.offline.model.param.OfflineDevSaveNodeCoordParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author: mengzheng.mhc
 * @date: 2024/7/10 16:33
 */
@Data
@Schema
public class OfflineDevSaveNodeCoordRequest {

    @Schema(description = "工作流节点id")
    private Long taskFlowNodeId;

    @Schema(description = "节点坐标信息")
    private List<OfflineDevSaveNodeCoordParam.NodeCoord> coordList;

    @Data
    @Schema
    public static class NodeCoord {
        @Schema(description = "节点id")
        private Long nodeId;

        @Schema(description = "x轴坐标")
        private String x;

        @Schema(description = "y轴坐标")
        private String y;
    }
}
